import request from '@/utils/request'
export function addProjectConstructionLog(data) {
  return request({
    url: '/api/planManage/projectConstructionLog/addProjectConstructionLog',
    method: 'post',
    data
  })
}
export function deleteProjectConstructionLog(params) {
  return request({
    url: '/api/planManage/projectConstructionLog/deleteProjectConstructionLog',
    method: 'post',
    params
  })
}
export function getProjectConstructionLogDetail(params) {
  return request({
    url: '/api/planManage/projectConstructionLog/getProjectConstructionLogDetail',
    method: 'post',
    params
  })
}
export function getProjectConstructionLogList(data) {
  return request({
    url: '/api/planManage/projectConstructionLog/getProjectConstructionLogList',
    method: 'post',
    data
  })
}
export function updateProjectConstructionLog(data) {
  return request({
    url: '/api/planManage/projectConstructionLog/updateProjectConstructionLog',
    method: 'post',
    data
  })
}

// 项目资金投入及回收计划
export function getProjectFundPushPopInfoList(data) {
  return request({
    url: '/api/planManage/projectFundPushPopInfo/getProjectFundPushPopInfoList',
    method: 'post',
    data
  })
}

export function addProjectFundPushPopInfo(data) {
  return request({
    url: '/api/planManage/projectFundPushPopInfo/addProjectFundPushPopInfo',
    method: 'post',
    data
  })
}

export function updateProjectFundPushPopInfo(data) {
  return request({
    url: '/api/planManage/projectFundPushPopInfo/updateProjectFundPushPopInfo',
    method: 'post',
    data
  })
}

export function deleteProjectFundPushPopInfo(params) {
  return request({
    url: '/api/planManage/projectFundPushPopInfo/deleteProjectFundPushPopInfo',
    method: 'post',
    params
  })
}

export function getProjectFundPushPopInfoDetail(params) {
  return request({
    url: '/api/planManage/projectFundPushPopInfo/getProjectFundPushPopInfoDetail',
    method: 'post',
    params
  })
}

// 项目月进度统计
export function getProjectScheduleStatInfoList(data) {
  return request({
    url: '/api/planManage/projectScheduleStatInfo/getProjectScheduleStatInfoList',
    method: 'post',
    data
  })
}

export function addProjectScheduleStatInfo(data) {
  return request({
    url: '/api/planManage/projectScheduleStatInfo/addProjectScheduleStatInfo',
    method: 'post',
    data
  })
}

export function updateProjectScheduleStatInfo(data) {
  return request({
    url: '/api/planManage/projectScheduleStatInfo/updateProjectScheduleStatInfo',
    method: 'post',
    data
  })
}

export function deleteProjectScheduleStatInfo(params) {
  return request({
    url: '/api/planManage/projectScheduleStatInfo/deleteProjectScheduleStatInfo',
    method: 'post',
    params
  })
}

export function getProjectScheduleStatInfoDetail(params) {
  return request({
    url: '/api/planManage/projectScheduleStatInfo/getProjectScheduleStatInfoDetail',
    method: 'post',
    params
  })
}

// 项目月成本进度计划
export function getProjectSchedulePlanBasicInfoList(data) {
  return request({
    url: '/api/planManage/projectSchedulePlanInfo/getProjectSchedulePlanBasicInfoList',
    method: 'post',
    data
  })
}

export function addProjectSchedulePlanInfo(data) {
  return request({
    url: '/api/planManage/projectSchedulePlanInfo/addProjectSchedulePlanInfo',
    method: 'post',
    data
  })
}

export function updateProjectSchedulePlanInfo(data) {
  return request({
    url: '/api/planManage/projectSchedulePlanInfo/updateProjectSchedulePlanInfo',
    method: 'post',
    data
  })
}

export function deleteProjectSchedulePlanInfo(params) {
  return request({
    url: '/api/planManage/projectSchedulePlanInfo/deleteProjectSchedulePlanInfo',
    method: 'post',
    params
  })
}

export function getProjectSchedulePlanInfoDetail(params) {
  return request({
    url: '/api/planManage/projectSchedulePlanInfo/getProjectSchedulePlanInfoDetail',
    method: 'post',
    params
  })
}

// 项目总成本计划
export function getProjectTotalCostPlanBasicInfoList(data) {
  return request({
    url: '/api/planManage/projectTotalCostPlanInfo/getProjectTotalCostPlanBasicInfoList',
    method: 'post',
    data
  })
}

export function addProjectTotalCostPlanInfo(data) {
  return request({
    url: '/api/planManage/projectTotalCostPlanInfo/addProjectTotalCostPlanInfo',
    method: 'post',
    data
  })
}

export function updateProjectTotalCostPlanInfo(data) {
  return request({
    url: '/api/planManage/projectTotalCostPlanInfo/updateProjectTotalCostPlanInfo',
    method: 'post',
    data
  })
}

export function deleteProjectTotalCostPlanInfo(params) {
  return request({
    url: '/api/planManage/projectTotalCostPlanInfo/deleteProjectTotalCostPlanInfo',
    method: 'post',
    params
  })
}

export function getProjectTotalCostPlanInfoDetail(params) {
  return request({
    url: '/api/planManage/projectTotalCostPlanInfo/getProjectTotalCostPlanInfoDetail',
    method: 'post',
    params
  })
}

export function exportProjectTotalCostPlanInfo(data) {
  return request({
    url: '/api/planManage/projectTotalCostPlanInfo/exportProjectTotalCostPlanInfo',
    method: 'post',
    responseType: 'blob',
    data
  })
}
